/**
 * (created at 2011-1-20)
 */
package qiushuo.mysqlparser.ast.expression.bit;

import qiushuo.mysqlparser.ast.expression.Expression;
import qiushuo.mysqlparser.ast.expression.UnaryOperatorExpression;

/**
 * <code>'~' higherExpr</code>
 * 
 * @author <a href="mailto:QiuShuo1985@gmail.com">QIU Shuo</a>
 */
public class BitInvertExpression extends UnaryOperatorExpression {
    public BitInvertExpression(Expression operand) {
        super(operand, PRECEDENCE_UNARY_OP);
    }

    @Override
    protected String getOperator() {
        return "~";
    }
}
